<?php
class Zend_View_Helper_DrawFooterMenu extends Zend_View_Helper_Abstract
{
protected $ft;
    public function __construct()
    {
    $this->ft = true;
    }
    public function Draw($Array,$Prefix = '')
    {
        if (  count($Array)  ) 
        {
            
            $first  = true;
            foreach ($Array as $Value)
            {
                if (!$first)  echo "<b>|</b>";  
                $first  = false; 
                ?>
                 <a href="<?php echo $Value['Link']?>"><?php echo $Value['Name']; ?></a>
                <?php 
            }
        }
    }
    
    
    public function drawFooterMenu()
    {
        $Menu = new Menu();
        $Array= $Menu->buildHierarchy();
        
        $this->Draw($Array);
    }
}